LogRecord

class LogRecord : GeneratedMessage, MeshProtos.LogRecordOrBuilder

Debug output from the device.
To minimize the size of records inside the device code, if a time/source/level is not set
on the message it is assumed to be a continuation of the previously sent message.
This allows the device code to use fixed maxlen 64 byte strings for messages,
and then extend as needed by emitting multiple records.
Protobuf type meshtastic.LogRecord

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , MeshProtos.LogRecordOrBuilder

Debug output from the device.
To minimize the size of records inside the device code, if a time/source/level is not set
on the message it is assumed to be a continuation of the previously sent message.
This allows the device code to use fixed maxlen 64 byte strings for messages,
and then extend as needed by emitting multiple records.
Protobuf type meshtastic.LogRecord
Link copied to clipboard
enum Level : ProtocolMessageEnum

Log levels, chosen to match python logging conventions.
Protobuf enum meshtastic.LogRecord.Level

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard

Not yet set
.meshtastic.LogRecord.Level level = 4;
Link copied to clipboard
open fun getLevelValue(): Int

Not yet set
.meshtastic.LogRecord.Level level = 4;
Link copied to clipboard
open fun getMessage(): String

Log levels, chosen to match python logging conventions.
string message = 1;
Link copied to clipboard
open fun getMessageBytes(): ByteString

Log levels, chosen to match python logging conventions.
string message = 1;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSource(): String

Usually based on thread name - if known
string source = 3;
Link copied to clipboard
open fun getSourceBytes(): ByteString

Usually based on thread name - if known
string source = 3;
Link copied to clipboard
open fun getTime(): Int

Seconds since 1970 - or 0 for unknown/unset
fixed32 time = 2;
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): MeshProtos.LogRecord
Link copied to clipboard
open fun parseFrom(data: ByteString): MeshProtos.LogRecord
open fun parseFrom(input: CodedInputStream): MeshProtos.LogRecord
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): MeshProtos.LogRecord
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): MeshProtos.LogRecord
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): MeshProtos.LogRecord
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): MeshProtos.LogRecord
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): MeshProtos.LogRecord
Link copied to clipboard
open fun parser(): Parser<MeshProtos.LogRecord>
Link copied to clipboard
Link copied to clipboard
open fun writeTo(output: CodedOutputStream)